import { createRouter, createWebHistory } from 'vue-router'

import Main from '@/views/Main/index.vue'
import Based_Care from '@/views/Based-Care/index.vue'
import Institution_Care from '@/views/Institution-Care/index.vue'
import Home_Bed from '@/views/Home-Bed/index.vue'
import Community_Support from '@/views/Community-Support/index.vue'
import Elderly_Position_Monitoring from '@/views/Elderly-Position-Monitoring/index.vue'
import Order_Monitoring from '@/views/Order-Monitoring/index.vue'
import Vital_Signs_Monitoring from '@/views/Vital-Signs-Monitoring/index.vue'
import Iiving_Home_Security_Monitoring from '@/views/Iiving-Home-Security-Monitoring/index.vue'
import Community_Canteen_Monitoring from '@/views/Community-Canteen-Monitoring/index.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'Home',
      component: Main
    },
    {
      path: '/main',
      name: 'Main',
      component: Main
    },
    {
      path: '/based-care',
      name: 'Based-Care',
      component: Based_Care
    },
    {
      path: '/institution-care',
      name: 'Institution-Care',
      component: Institution_Care
    },
    {
      path: '/home-bed',
      name: 'Home-Bed',
      component: Home_Bed
    },
    {
      path: '/community-support',
      name: 'Community-Support',
      component: Community_Support
    },
    {
      path: '/elderly-position-monitoring',
      name: 'Elderly-Position-Monitoring',
      component: Elderly_Position_Monitoring
    },
    {
      path: '/order-monitoring',
      name: 'Order-Monitoring',
      component: Order_Monitoring
    },
    {
      path: '/vital-signs-monitoring',
      name: 'Vital-Signs-Monitoring',
      component: Vital_Signs_Monitoring
    },
    {
      path: '/Iiving-Home-Security-Monitoring',
      name: 'Iiving-Home-Security-Monitoring',
      component: Iiving_Home_Security_Monitoring
    },
    {
      path: '/community-canteen-monitoring',
      name: 'Community-Canteen-Monitoring',
      component: Community_Canteen_Monitoring
    },

  ]
})

export default router
